package com.shanliao.request;

import java.io.Serializable;

import javax.validation.Valid;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("请求参数基类")
@Data
public class BaseRequest<Param> implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "请求令牌")
    private String token;

    @ApiModelProperty(value = "appId")
    private Integer appId;

    @ApiModelProperty(value = "操作系统")
    private String os;

    @ApiModelProperty(value = "协议版本")
    private String version;

    @Valid
    @ApiModelProperty(value = "参数实体类")
    private Param param;


}